<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <#include "/WEB-INF/views/include/header.html">
    <#include "/WEB-INF/views/include/treeSelect.html">
    <#--<#include "/WEB-INF/views/modules/common/treeView.html">-->
    <title>添加区域</title>
    <script type="text/javascript">
        $(function () {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 100
            });
        });
    </script>
</head>
<body style="width:100%;height: 100%;background-color: #f0f9fd">
<form class="form-horizontal" style="background-color: #f0f9fd">
    <div class="form-group">
        <label class="col-sm-1 control-label">上级区域:</label>
        <div class="col-sm-2">
            <#assign url = '/sys/area/treeData'/>
            <input type="text" class="form-control" id="parentArea" placeholder="请输入名字" onclick="treeSelectClick('/sys/area/treeData','上级区域')">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-1 control-label">区域名称:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="name" placeholder="请输入名称">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-1 control-label">区域代码:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="code" placeholder="请输入代码">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-1 control-label">区域类型:</label>
        <div class="col-sm-2">
            <input type="text" class="form-control" id="type" placeholder="请选择类型">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-1 col-sm-10">
            <button type="submit" class="btn btn-primary">保存</button>
        </div>
    </div>
</form>
</body>
</html>